package com.firewolf.service.impl;

import com.firewolf.bean.User;
import com.firewolf.dao.UserMapper;
import com.firewolf.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 作者：刘兴
 * 时间:18/11/28
 **/
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public void saveUser(User u) {
        userMapper.insert(u);
    }
}
